<script>
	import { useUserStore } from './stores/user';
	export default {
		onLaunch: function() {
			console.log('App Launch');
			// 应用启动时，从本地存储加载用户数据
			const userStore = useUserStore();
			userStore.loadUserFromStorage();
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
